package com.pureut.equipment.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.pureut.equipment.domain.InspectionItem;
import com.pureut.equipment.domain.dto.InspectionItemDto;
import com.pureut.equipment.domain.vo.InspectionItemVo;

import java.util.List;

/***
 *
 * Author:点验项目service
 * Date:2023/04/24 15:18
 * @DESC
 */
public interface InspectionItemService extends IService<InspectionItem> {

    /**
     * 点验项目列表
     */
    List<InspectionItemDto> getList(InspectionItemVo inspectionItemVo);

    /**
     * 新增
     */
    boolean add(InspectionItemVo inspectionItemVo) throws Exception;

    /**
     * 删除
     */
    boolean deleteInspectionItem(Long id);

    /**
     * 修改
     */
    boolean updateInspectionItem(InspectionItemVo inspectionItemVo);

    /**
     * 查看
     */
    InspectionItemDto queryInspectionItem(Long id);
}
